<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class ProjectFollows_model extends CI_Model {
    
    public $tablename = 'hpg_project_follows';
    
    public function __construct()
    {
        parent::__construct();
    }
    public function getUidsByProjectId($id){
        $list = $this->db->from($this->tablename)->where('project_id='.$id)->select('uid')->fetchOnlyField('uid');
        return $list ? $list : [];
    }
}
?>